<template>
    <div>
        <p>我是子组件</p>
    </div>
</template>

<script>
export default {
    data() {
        return {
            nameArr: [
                {
                    id: 1,
                    name: '及时雨-宋江'
                },
                {
                    id: 2,
                    name: '玉麒麟-卢俊义'
                },
                {
                    id: 3,
                    name: '智多星-吴用'
                }
            ]
        }
    }
}
</script>
<style scoped></style>